/**
 * =========================== 公用常量js ===========================
 */

//后台接口
var HTTP = {
  //用户相关接口
  getUserById: "api/auth/user/getById",
  refreshToken: "api/auth/user/refreshToken",
  sendVerifyCode: "api/auth/user/sendVerifyCode",
  loginByVerifyCode: "api/auth/user/loginByVerifyCode",

  //文章相关接口
  getArticleDetail: "api/article/getArticleDetail",
  getArticleCommentList: "api/article/comment/getArticleCommentList",
  addArticleView: "api/article/addArticleView",
  //论坛相关接口
  getForumDetail: "api/forum/getForumDetail",
  getForumCommentList: "api/forum/comment/getForumCommentList",
  //会议相关接口
  getMeetingDetail: "api/meeting/getMeetingDetail",
  saveMeetingApply: "api/meeting/saveMeetingApply",
  //招募相关接口
  getRecruitmentDetail: "api/recruitment/getDetail",
  saveRecruitmentApply: "api/recruitment/saveRecruitmentApply",
  addRecruitmentView: "api/recruitment/addView",
  //隐私协议
  getServiceProtocol: "config/getServiceProtocol",
  //token获取
  getJsapiTicket: "config/wechat/getJsapiTicket",
  getAppapiTicket: "config/wechat/getAppapiTicket",
  //广告
  getShowAd: "api/advertising/getShowAd",
  addAdClick: "api/advertising/addAdClick",
};

// 常用提示消息
var HINT = {
  serverError: "服务器错误",
  paramError: "参数错误",
  requestFail: "请求失败",
  requestSuccess: "请求成功",
  uploadFail: "上传失败",
  uploadSuccess: "上传成功",
  saveSuccess: "保存成功",
}
